﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Domain
{
    /// <summary>
    /// 角色表
    /// </summary>
    [SugarTable("Role")]
    public class Role
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int RoleId { get; set; }

        [SugarColumn(ColumnDescription = "角色名称", Length = 50)]
        public string ?RoleName { get; set; }

        [SugarColumn(ColumnDescription = "描述", Length = 500)]
        public string ?RoleDesc { get; set; }

        [SugarColumn(ColumnDescription = "删除标志", Length = 11)]
        public bool IsDelete { get; set; } = false;
    }
}
